def get_cctx_xulie_event_ltc_doge_btc_source(data_dict):
    # 事件字典数据
    Lock_event = {}
    Deposit_event = {}

    # 获取Lock_event数据
    hash = data_dict["cross_chain_data"]["hash"].lower()
    Lock_event["tx_s"] = f"{hash}"
    Lock_event["sc_s"] = " "
    Lock_event["asset_s"] = data_dict["cross_chain_data"]["input"]["asset"]
    Lock_event["amount_s"] = data_dict["cross_chain_data"]["input"]["amount"]
    # 将大写字符串改为小写
    Lock_event["to_s"] = data_dict["source_chain_data"]["data"][hash]["outputs"][0]["recipient"]


    Deposit_event["tx_s"] = f"{hash}"
    Deposit_event["sc_s"] = " "
    Deposit_event["asset_s"] = data_dict["cross_chain_data"]["input"]["asset"]
    Deposit_event["amount_s"] = data_dict["cross_chain_data"]["input"]["amount"]
    Deposit_event["ID_d"] = data_dict["cross_chain_data"]["output"]["chain"]
    Deposit_event["asset_d"] = data_dict["cross_chain_data"]["output"]["asset"]
    Deposit_event["to_d"] = data_dict["cross_chain_data"]["outbounds"][1]["to"]

    return Lock_event,Deposit_event


def get_cctx_xulie_event_ltc_doge_btc_target(data_dict):
    # 事件字典数据
    Unlock_event = {}

    Unlock_event["tx_d"] = data_dict["cross_chain_data"]["outbounds"][1]["hash"].lower()
    Unlock_event["sc_d"] = " "
    Unlock_event["asset_d"] = data_dict["cross_chain_data"]["output"]["asset"]
    Unlock_event["amount_d"] = data_dict["cross_chain_data"]["outbounds"][1]["amount"]
    Unlock_event["to_d"] = data_dict["cross_chain_data"]["outbounds"][1]["to"]

    return Unlock_event